package com.mingyizhudao.app.view;

import android.content.Intent;
import com.dixiang.framework.BaseApplication;
import com.umeng.socialize.PlatformConfig;

public class MYApplication extends BaseApplication{
	private final static String ACTION = "com.loacaldata.service";
	
	
	public static float density ,heightPixels , widthPixels;//依次屏幕密度， 屏幕高度，屏幕宽度
	public static int startheight; //状态栏高度
	@Override
	public void onCreate() {
		super.onCreate();
		init();
		initShare();
	}
	
	private void init(){
		Intent intent = new Intent();
		intent.setAction(ACTION);
		intent.setPackage(getPackageName());
		startService(intent);
		
	}
	
	private void initShare(){
        PlatformConfig.setWeixin("wx5f0bf0186b056809", "307d4a79eba2d85d62e8e29438da95bc");
        PlatformConfig.setSinaWeibo("190174859", "8d3a10da547aafd63f6372a9a0a5301d");
        PlatformConfig.setQQZone("1104681417", "jwk9InoCMkjJGwSo");
	}
}
